* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Mar 2007 14:25:07 +0000 (14:25 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Mar 2007 14:25:07 +0000 (14:25 +0000)
RELEASE-NOTES
includes/SpecialRecentchangeslinked.php

index 7d13d59..5f9343c 100644 (file)
@@ -286,6 +286,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9411) Fix for shared image descriptions using query-string titles
 * (bug 4756) Add user tool links for self created accounts at special:log
   instead of sometimes broken block links from newuserlog extension
+* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
+  target page instead of silently redirecting.
+
 
 == Maintenance ==
 * New script maintenance/language/checkExtensioni18n.php used to check i18n
index a9c584f..14508d3 100644 (file)
@@ -137,7 +137,7 @@ $GROUPBY
        }
        $res = $dbr->query( $sql, $fname );
 
-       $wgOut->addHTML("&lt; ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."<br />\n");
+       $wgOut->addHTML("&lt; ".$sk->makeLinkObj($nt, "", "redirect=no" )."<br />\n");
        $note = wfMsgExt( "rcnote", array ( 'parseinline' ), $limit, $days, $wgLang->timeAndDate( wfTimestampNow(), true ) );
        $wgOut->addHTML( "<hr />\n{$note}\n<br />" );